const defaultWidth = 100
export const tableHeaders = [
  {
    name: '状态',
    key: 'workflowStatusName',
    wid: defaultWidth
  },
  {
    name: '财务编号',
    key: 'financeId',
    wid: defaultWidth
  },
  {
    name: '区域编号',
    key: 'areaCode',
    wid: defaultWidth
  },
  {
    name: '区域名称',
    key: 'areaCodeName',
    wid: defaultWidth
  },
  {
    name: '企业编号',
    key: 'enterpriseId',
    wid: defaultWidth
  },
  {
    name: '企业名称',
    key: 'enterpriseName',
    wid: defaultWidth
  },
  {
    name: '年月',
    key: 'years',
    wid: defaultWidth
  },
  {
    name: '备注',
    key: 'remark',
    wid: defaultWidth
  },
  {
    name: '创建时间',
    key: 'createTime',
    wid: 170
  },
  {
    name: '修改时间',
    key: 'updateTime',
    wid: 170
  },
  {
    name: '操作',
    wid: 120,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const detailHeaders = [
  {
    name: '详情编号',
    key: 'listId',
    wid: defaultWidth
  },
  {
    name: '财务指标表编码',
    key: 'enterpriseLabelName',
    wid: 150
  },
  {
    name: '本月累计',
    key: 'amountMonth',
    wid: defaultWidth
  },
  {
    name: '本年累计',
    key: 'amountYear',
    wid: defaultWidth
  },
  {
    name: '去年往期',
    key: 'amountLastYear',
    wid: defaultWidth
  }
]
export const searchItem = [
  {
    name: '企业名称',
    key: 'enterpriseName'
  },
  {
    name: '区域',
    key: 'areaCode'
  },
  {
    name: '年月',
    key: 'years',
    type: 'date',
    dateType: 'date',
    dateFormat: 'YYYY-MM-DD'
  }
]
